//
//  ZWMarketManager.m
//  aixianfeng
//
//  Created by zhaowei on 17/5/5.
//  Copyright © 2017年 zhaowei. All rights reserved.
//

#import "ZWMarketManager.h"

@implementation ZWMarketManager

IMPLEMENTATION_SINGLETON(ZWMarketManager)

//获取超市信息
- (NSDictionary *)gainMarketInfomation {
    
    NSString *jsonStr = [NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"market.json" ofType:@"php"] encoding:NSASCIIStringEncoding error:nil];
    
    NSData *jsonData = [jsonStr dataUsingEncoding:NSUTF8StringEncoding];
    NSMutableDictionary *jsonDict = [NSJSONSerialization JSONObjectWithData:jsonData options: 0 error:nil];
    return jsonDict;
}



@end
